<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理登陆</title>
<base href='<?php echo base_url()?>'>
<link rel="stylesheet" type="text/css" href="public/common/css/common.css"/>
<link rel="stylesheet" type="text/css" href="public/admin/css/admin.css"/>
<script src="public/common/js/jquery.js"></script>
<style>
	body{background:#75CBFA url('public/admin/images/login_bg.gif') repeat-x left top;}
	.input_login{width:130px;background:#057FCC;color:white}
	.validate img{cursor:pointer;vertical-align:middle}
</style>
<script>
	$(function(){
		$('.validate img').click(function(){
			$(this).attr('src','<?php echo site_url("captcha/index/75/20/4")?>/'+Math.random());
		});
	})
</script>
</head>
<body>
	<div id='login'>
		<div class='login_2'>
			<div style='padding:10px;'><img src='public/admin/images/login.jpg' width='405px' height='55px'></div>
			<div class='left' style='margin-left:10px;'>
				<img src='public/admin/images/login_icon.gif' width='70px' height='70px'>
			</div>
			<form action="<?php echo site_url('admin/login/login_in')?>" method=post>
			<div class='left' style='margin-left:10px;color:white;'>
				<p>管理员帐号：<input type='text' name='admin_name' class='input_login border_none'></p>
				<p>管理员密码：<input type='password' name='admin_password' class='input_login border_none'></p>
				<?php if($validate_admin_login == '1'):?>
				<p class='validate'> 
					验 证 码： &nbsp;&nbsp;&nbsp;<input type='text' name='validate_code' class='input_login border_none' style='width:45px;text-align:center;' onkeyup='this.value=this.value.toUpperCase()'>
					<img src="<?php echo site_url('captcha/index/75/20/4') ?>">
				</p>
				<?php endif;?>
			</div>
			<div class='left' style='margin-left:10px;'>
				<input type='image' src='public/admin/images/login_btn.gif'>
			</div>
			</form>
		</div>
	</div>
</body>
</html>